﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;

namespace NP.BPMReportPlatform.GC.Dto
{
    [ExcelExporter(Name = "报表数据", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetDDFSXGCApplyOutput
    {
        /// <summary>
        /// 发起人名称
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string UserName { get; set; }

        /// <summary>
        /// 流程ID
        /// </summary>
        [ExporterHeader(DisplayName = "单据号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public string CreateTime { get; set; }


        /// <summary>
        /// 负责销售员姓名
        /// </summary>
        [ExporterHeader(DisplayName = "负责销售员姓名")]
        public string SalesalespersonUserName { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        [ExporterHeader(DisplayName = "客户编码")]
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }


        /// <summary>
        /// 商机号
        /// </summary>
        [ExporterHeader(DisplayName = "商机号")]
        public string BusinessOpportunityNo { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [ExporterHeader(DisplayName = "项目名称")]
        public string ProjectName { get; set; }


        /// <summary>
        /// 首选工厂
        /// </summary>
        [ExporterHeader(DisplayName = "首选工厂")]
        public string FirstFactoryCode { get; set; }


        /// <summary>
        /// 首选工厂名称
        /// </summary>
        [ExporterHeader(DisplayName = "首选工厂名称")]
        public string FirstFactoryName { get; set; }

        /// <summary>
        /// 首选工厂联系人
        /// </summary>
        [ExporterHeader(DisplayName = "首选工厂联系人")]
        public string FirstFactoryContact { get; set; }


        /// <summary>
        /// 首选工厂联系电话
        /// </summary>
        [ExporterHeader(DisplayName = "首选工厂联系电话")]
        public string FirstFactoryTel { get; set; }


        /// <summary>
        /// 下单工厂编码
        /// </summary>
        [ExporterHeader(DisplayName = "下单工厂编码")]
        public string OrderFactoryCode { get; set; }


        /// <summary>
        /// 下单工厂名称
        /// </summary>
        [ExporterHeader(DisplayName = "下单工厂名称")]
        public string OrderFactoryName { get; set; }


        /// <summary>
        /// 原因分类
        /// </summary>
        [ExporterHeader(DisplayName = "原因分类")]
        public string ReasonCategory { get; set; }


        /// <summary>
        /// 所属大区
        /// </summary>
        [ExporterHeader(DisplayName = "所属大区")]
        public string BelongArea { get; set; }


        /// <summary>
        /// 申请理由
        /// </summary>
        [ExporterHeader(DisplayName = "申请理由")]
        public string ApplyReason { get; set; }

        /// <summary>
        /// URL
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }
    }
}